package com.nimitz.event.service;

import com.nimitz.event.domain.Event;
import com.nimitz.event.domain.EventResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;

import java.time.LocalDate;
import java.util.List;

public interface EventService {
    void addEvent(Event event);

    List<EventResult> selectAll(LocalDate createTime, String state);

    void updateEvent(Event event);

    Event selectById(Long id);

    void deleteById(Long id);

}
